package com.dg11185.nearshop.net.response;

import org.json.JSONException;
import org.json.JSONObject;

public class AccessLogResponse {

public NetStatus status = null;
	
	public void parseJson(String response) {
		
		try {
            JSONObject jsonObject = new JSONObject(response);
          
            status = NetStatus.getStatus(jsonObject.optString("status"));
            
		}
		catch (JSONException e) {
            e.printStackTrace();
        }
	}
}
